package com.fzy.modules.bill.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/***
 * 采购订单
 */
@Data
public class PoBill  {
    private String id;
    private Integer billStatus;//审核状态 0待审核 1000已审核 3000全部入库
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date bizDt;//
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dealDate;//交货日期
    private String orgId;//组织机构id
    private String bizUserId;//业务员id
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dateCreated;//制单时间
    private Double goodsMoney;//采购金额
    private Double tax;//税金
    private Double moneyWithTax;//价税合计
    private String inputUserId;//制单人id
    private String ref;//采购订单号
    private String supplierId;//供应商id
    private String contact;//供应商联系人
    private String tel;//供应商电话
    private String fax;//供应商传真
    private String dealAddress;//交货地址
    private String billMemo;//备注
    private Integer paymentType;//付款方式 0记应付账款
    private String confirmUserId;//审核人id
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date confirmDate;//审核时间
    private String dataOrg;
    private String companyId;//公司id


}
